package com.xiaoming.stream;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * 读取消息接口
 * @author xiaoming
 */
public interface ReadMsgInterface {

    /**
     * 读取消息
     * @return
     */
    @Input("mall_member_channel")
    SubscribableChannel readMsg();
}